WeDevs\Dokan\REST\StoreController B

Total Complexity 79
Dependencies 6
Dependents 0
Total lines 961
Lines of code 620
Logical lines of code 234
Comment lines 201
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
get_stores()
A
43 10 48
register_routes()
A
31 1 176
batch_update()
A
49 10 31
check_store_availability()
A
43 8 57
get_store_reviews()
A
43 8 47
format_collection_response()
A
48 9 31
update_vendor_status()
S
55 5 17
prepare_reviews_for_response()
S
45 3 44
delete_store()
S
58 5 13
send_email()
S
49 3 31
get_store_category()
S
60 3 11
get_store_collection_params()
S
52 1 30
update_store_permissions_check()
S
67 3 8
update_store()
S
60 2 13
create_store()
S
62 2 11
get_total_review_count()
S
59 1 15
prepare_links()
S
63 1 11
prepare_item_for_response()
S
67 1 7
permission_check_for_manageable_part()
S
80 1 3
get_store()
S
68 1 7
get_store_products()
S
65 1 9